<%@ page language="java" contentType="text/html; charset=UTF-8"
   pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix = "spring" uri = "http://www.springframework.org/tags" %>
<c:url value="/edit" var="action"/>
<head>
	<script type="text/javascript" src="<c:url value="/static/js/jquery-1.4.4.min.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/static/js/html-elements.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/Constants"/>"></script>
	<script type="text/javascript" src="<c:url value="/static/js/language.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/static/js/search.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/static/js/pagination.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/static/js/loading.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/static/js/edition.js"/>"></script>
	<link rel="stylesheet" type="text/css" href="<c:url value="/static/css/search-style.css"/>"></link>
	<link rel="stylesheet" type="text/css" href="<c:url value="/static/css/loading.css"/>"></link>
	<link rel="stylesheet" type="text/css" href="<c:url value="/static/css/pagination.css"/>"></link>
</head>

<script type="text/javascript">
<!--
function search(){
	//searchPendingTranslareProperties('selectedLang','properties');
	searchPagedPendingTranslareProperties(0);
}
//-->
</script>

<form:form commandName="languages">
	<div class="search-table">
		<span class="search-row">
			<span class="search-cell"><spring:message code="key.language.label"/></span>
			<span class="search-cell">	
				<form:select path="" id="selectedLang" multiple="false">
					<form:option value="" >All</form:option>
					<form:options items="${languages}" itemValue="id" itemLabel="description" />
				</form:select>
			</span>
		</span>
		<span class="search-row">
			<input type="button" value="<spring:message code="key.common.search"/>" onclick="search();" />
		</span>
	</div> 
</form:form>
<div id="properties">
	<span class="search-result-row">
		<span class="search-result-header">
			<spring:message code="key.property.header.key"/>
		</span>
		<span class="search-result-header">
			<spring:message code="key.property.header.defaultValue"/>
		</span>
		<span class="search-result-header-last">
			<spring:message code="key.property.header.translation"/>
		</span>
	</span>
</div>

